/**
 * 业务模型关系的监听器
 */
package indi.zjh.dp.orm;

public interface BusinessStructListener {
	
	/**
	 * 每个业务类都会调用一次初始化
	 * @param event
	 * @throws Exception
	 */
	public void init(BusinessStructEvent event) throws Exception;
	
	/**
	 * 继承
	 * @param event
	 */
	public void extend(BusinessStructEvent event) throws Exception;
	
	/**
	 * 关联
	 * @param event
	 */
	public void association(BusinessStructEvent event) throws Exception;;
	
	/**
	 * 组合
	 * @param event
	 */
	public void composition(BusinessStructEvent event) throws Exception;;
	
	/**
	 * 聚合
	 * @param event
	 */
	public void aggregation(BusinessStructEvent event) throws Exception;;
	
	/**
	 * 依赖
	 * @param event
	 */
	public void dependency(BusinessStructEvent event) throws Exception;;
}
